<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>forward2</title>
</head>
<body>
	<%
		RequestDispatcher rd = getServletContext().getRequestDispatcher("/day0831/forwardto.jsp?userName=anna");
		rd.forward(request, response);
	%>
	<%--注意：这种写法开始的第一个字符必须是一个反斜杠‘/‘，也就是必须使用绝对路径 --%>
</body>
</html>